\hypertarget{matrixgraph__test_8h}{}\section{src/graph\+\_\+algorithms/basic\+\_\+graph/graph\+\_\+representation/matrix\+\_\+graph/matrixgraph\+\_\+test.h File Reference}
\label{matrixgraph__test_8h}\index{src/graph\+\_\+algorithms/basic\+\_\+graph/graph\+\_\+representation/matrix\+\_\+graph/matrixgraph\+\_\+test.\+h@{src/graph\+\_\+algorithms/basic\+\_\+graph/graph\+\_\+representation/matrix\+\_\+graph/matrixgraph\+\_\+test.\+h}}
{\ttfamily \#include \char`\"{}src/google\+\_\+test/gtest.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}matrixgraph.\+h\char`\"{}}\\*
{\ttfamily \#include $<$memory$>$}\\*
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{class_graph_matrix_test}{Graph\+Matrix\+Test}
\begin{DoxyCompactList}\small\item\em \hyperlink{class_graph_matrix_test}{Graph\+Matrix\+Test}\+:测试类，用于为测试提供基础数据 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \hyperlink{namespaceanonymous__namespace_02matrixgraph__test_8h_03}{anonymous\+\_\+namespace\{matrixgraph\+\_\+test.\+h\}}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{matrixgraph__test_8h_a3bc9fc5de7d07aff1e20e9b4685a929e}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_graph_matrix_test}{Graph\+Matrix\+Test}, test\+\_\+weight)
\begin{DoxyCompactList}\small\item\em matrix\+\_\+graph\+\_\+test\+:Matrix\+Graph \end{DoxyCompactList}\item 
\hyperlink{matrixgraph__test_8h_aacdf46fc520c84d4fbeac4d93b204236}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_graph_matrix_test}{Graph\+Matrix\+Test}, test\+\_\+has\+\_\+edge)
\begin{DoxyCompactList}\small\item\em matrix\+\_\+graph\+\_\+test\+:Matrix\+Graph \end{DoxyCompactList}\item 
\hyperlink{matrixgraph__test_8h_a82d04aa9b6ed1171406fd77e409254c7}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_graph_matrix_test}{Graph\+Matrix\+Test}, test\+\_\+add\+\_\+edge)
\begin{DoxyCompactList}\small\item\em matrix\+\_\+graph\+\_\+test\+:Matrix\+Graph \end{DoxyCompactList}\item 
\hyperlink{matrixgraph__test_8h_ac018e5cb42e2b0073c0688dd0da5ad48}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_graph_matrix_test}{Graph\+Matrix\+Test}, test\+\_\+add\+\_\+edges)
\begin{DoxyCompactList}\small\item\em matrix\+\_\+graph\+\_\+test\+:Matrix\+Graph \end{DoxyCompactList}\item 
\hyperlink{matrixgraph__test_8h_a8cf9450df4b7c364f7f8a93410275af3}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_graph_matrix_test}{Graph\+Matrix\+Test}, test\+\_\+adjust\+\_\+edge)
\begin{DoxyCompactList}\small\item\em matrix\+\_\+graph\+\_\+test\+:Matrix\+Graph \end{DoxyCompactList}\item 
\hyperlink{matrixgraph__test_8h_a0049e68f82126b1bcfb4e391e36c1f4f}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_graph_matrix_test}{Graph\+Matrix\+Test}, test\+\_\+edge\+\_\+tuples)
\begin{DoxyCompactList}\small\item\em matrix\+\_\+graph\+\_\+test\+:Matrix\+Graph \end{DoxyCompactList}\item 
\hyperlink{matrixgraph__test_8h_adc32fd089231e0fc26bdc54fb89a67aa}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_graph_matrix_test}{Graph\+Matrix\+Test}, test\+\_\+vertex\+\_\+edge\+\_\+tuples)
\begin{DoxyCompactList}\small\item\em matrix\+\_\+graph\+\_\+test\+:Matrix\+Graph \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
const int \hyperlink{namespaceanonymous__namespace_02matrixgraph__test_8h_03_a07b3c20a610653281d3f91b60f576e05}{anonymous\+\_\+namespace\{matrixgraph\+\_\+test.\+h\}\+::\+M\+T\+X\+N\+U\+M} =10
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{matrixgraph__test_8h_a3bc9fc5de7d07aff1e20e9b4685a929e}{}\index{matrixgraph\+\_\+test.\+h@{matrixgraph\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!matrixgraph\+\_\+test.\+h@{matrixgraph\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Graph\+Matrix\+Test, test\+\_\+weight)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Graph\+Matrix\+Test}}]{, }
\item[{test\+\_\+weight}]{}
\end{DoxyParamCaption}
)}\label{matrixgraph__test_8h_a3bc9fc5de7d07aff1e20e9b4685a929e}


matrix\+\_\+graph\+\_\+test\+:Matrix\+Graph 

测试{\ttfamily weight}方法成员。 

Definition at line 50 of file matrixgraph\+\_\+test.\+h.

\hypertarget{matrixgraph__test_8h_aacdf46fc520c84d4fbeac4d93b204236}{}\index{matrixgraph\+\_\+test.\+h@{matrixgraph\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!matrixgraph\+\_\+test.\+h@{matrixgraph\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Graph\+Matrix\+Test, test\+\_\+has\+\_\+edge)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Graph\+Matrix\+Test}}]{, }
\item[{test\+\_\+has\+\_\+edge}]{}
\end{DoxyParamCaption}
)}\label{matrixgraph__test_8h_aacdf46fc520c84d4fbeac4d93b204236}


matrix\+\_\+graph\+\_\+test\+:Matrix\+Graph 

测试{\ttfamily has\+\_\+edge}方法成员。 

Definition at line 61 of file matrixgraph\+\_\+test.\+h.

\hypertarget{matrixgraph__test_8h_a82d04aa9b6ed1171406fd77e409254c7}{}\index{matrixgraph\+\_\+test.\+h@{matrixgraph\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!matrixgraph\+\_\+test.\+h@{matrixgraph\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Graph\+Matrix\+Test, test\+\_\+add\+\_\+edge)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Graph\+Matrix\+Test}}]{, }
\item[{test\+\_\+add\+\_\+edge}]{}
\end{DoxyParamCaption}
)}\label{matrixgraph__test_8h_a82d04aa9b6ed1171406fd77e409254c7}


matrix\+\_\+graph\+\_\+test\+:Matrix\+Graph 

测试{\ttfamily add\+\_\+edge}方法成员。 

Definition at line 76 of file matrixgraph\+\_\+test.\+h.

\hypertarget{matrixgraph__test_8h_ac018e5cb42e2b0073c0688dd0da5ad48}{}\index{matrixgraph\+\_\+test.\+h@{matrixgraph\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!matrixgraph\+\_\+test.\+h@{matrixgraph\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Graph\+Matrix\+Test, test\+\_\+add\+\_\+edges)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Graph\+Matrix\+Test}}]{, }
\item[{test\+\_\+add\+\_\+edges}]{}
\end{DoxyParamCaption}
)}\label{matrixgraph__test_8h_ac018e5cb42e2b0073c0688dd0da5ad48}


matrix\+\_\+graph\+\_\+test\+:Matrix\+Graph 

测试{\ttfamily add\+\_\+edges}方法成员。 

Definition at line 95 of file matrixgraph\+\_\+test.\+h.

\hypertarget{matrixgraph__test_8h_a8cf9450df4b7c364f7f8a93410275af3}{}\index{matrixgraph\+\_\+test.\+h@{matrixgraph\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!matrixgraph\+\_\+test.\+h@{matrixgraph\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Graph\+Matrix\+Test, test\+\_\+adjust\+\_\+edge)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Graph\+Matrix\+Test}}]{, }
\item[{test\+\_\+adjust\+\_\+edge}]{}
\end{DoxyParamCaption}
)}\label{matrixgraph__test_8h_a8cf9450df4b7c364f7f8a93410275af3}


matrix\+\_\+graph\+\_\+test\+:Matrix\+Graph 

测试{\ttfamily adjust\+\_\+edge}方法成员。 

Definition at line 114 of file matrixgraph\+\_\+test.\+h.

\hypertarget{matrixgraph__test_8h_a0049e68f82126b1bcfb4e391e36c1f4f}{}\index{matrixgraph\+\_\+test.\+h@{matrixgraph\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!matrixgraph\+\_\+test.\+h@{matrixgraph\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Graph\+Matrix\+Test, test\+\_\+edge\+\_\+tuples)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Graph\+Matrix\+Test}}]{, }
\item[{test\+\_\+edge\+\_\+tuples}]{}
\end{DoxyParamCaption}
)}\label{matrixgraph__test_8h_a0049e68f82126b1bcfb4e391e36c1f4f}


matrix\+\_\+graph\+\_\+test\+:Matrix\+Graph 

测试{\ttfamily edge\+\_\+tuples}方法成员。 

Definition at line 136 of file matrixgraph\+\_\+test.\+h.

\hypertarget{matrixgraph__test_8h_adc32fd089231e0fc26bdc54fb89a67aa}{}\index{matrixgraph\+\_\+test.\+h@{matrixgraph\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!matrixgraph\+\_\+test.\+h@{matrixgraph\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Graph\+Matrix\+Test, test\+\_\+vertex\+\_\+edge\+\_\+tuples)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Graph\+Matrix\+Test}}]{, }
\item[{test\+\_\+vertex\+\_\+edge\+\_\+tuples}]{}
\end{DoxyParamCaption}
)}\label{matrixgraph__test_8h_adc32fd089231e0fc26bdc54fb89a67aa}


matrix\+\_\+graph\+\_\+test\+:Matrix\+Graph 

测试{\ttfamily vertex\+\_\+edge\+\_\+tuples}方法成员。 

Definition at line 154 of file matrixgraph\+\_\+test.\+h.

